Skip to content

implement throttler guard for high-cost rpc reads#433

Merged
Devsol-01 merged 1 commit intoDevsol-01:mainfrom
Goodnessukaigwe:fix/394-backend-implement-throttler-guard-for-high-cost-rpc-reads
Mar 27, 2026
Merged

implement throttler guard for high-cost rpc reads#433
Devsol-01 merged 1 commit intoDevsol-01:mainfrom
Goodnessukaigwe:fix/394-backend-implement-throttler-guard-for-high-cost-rpc-reads

Conversation

@Goodnessukaigwe
Copy link
Copy Markdown
Contributor

  • Create RpcThrottleGuard extending ThrottlerGuard with User-ID based tracking
  • Configure ThrottlerModule with named throttle definitions (default, auth, rpc)
  • Apply user-ID tracking to /savings/my-subscriptions (10 req/min per user)
  • Enforce auth route limits (5 req/15min) on /auth/* endpoints
  • Add Retry-After and X-RateLimit headers to 429 responses
  • Implement comprehensive unit tests for RpcThrottleGuard
  • Add E2E test suite for throttling behavior validation

Closes #394

- Create RpcThrottleGuard extending ThrottlerGuard with User-ID based tracking
- Configure ThrottlerModule with named throttle definitions (default, auth, rpc)
- Apply user-ID tracking to /savings/my-subscriptions (10 req/min per user)
- Enforce auth route limits (5 req/15min) on /auth/* endpoints
- Add Retry-After and X-RateLimit headers to 429 responses
- Implement comprehensive unit tests for RpcThrottleGuard
- Add E2E test suite for throttling behavior validation

Closes Devsol-01#394
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 27, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
nestera Ready Ready Preview, Comment Mar 27, 2026 0:28am

@Devsol-01 Devsol-01 merged commit 779c59f into Devsol-01:main Mar 27, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Backend] Implement Throttler Guard for High-Cost RPC Reads

2 participants